package com.talkyun.openx.validator;

import com.talkyun.openx.server.core.InterceptorException;

public class ValidateException extends InterceptorException {
    public static final String ERROR_CODE = "00005050";

    public ValidateException(String msg) {
        super(msg, null);
    }

    @Override
    public String toString() {
        //        return "{\"code\"" + ":" + "\"" + ERROR_CODE + "\"" +
        //                "," + "\"message\"" + ":" + "\"" + getMessage() + "\"" +
        //                "," + "\"class\":" + "\"" + ValidateInterceptor.class.getName() + "\"" +
        //                "}";

        return super.getMessage();
    }
}